package com.xz.example.model.simple_model;

/**
 * @author 张志航     
 * @version V1.0.0
 * @projectName design_mode
 * @title     Attachment   
 * @package    com.xz.example.model  
 * @date   2019/12/2 10:24  
 * @explain
 */
// 附件类
public class Attachment {

    private String name; // 附件名

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public void download(){
        System.out.println("下载附件:"+name);
    }

    @Override
    public String toString() {
        return "Attachment{" +
                "name='" + name + '\'' +
                '}';
    }
}
